import { Tabs as AntTabs } from 'antd'
import type { TabsProps } from 'antd'
import styles from './index.module.less'

export const Tabs = ({ className = '', children, ...restProps }: TabsProps) => {
  return (
    <AntTabs className={`${styles['tabs-container']} ${className}`} {...restProps}>
      {children}
    </AntTabs>
  )
}
